package cn.iocoder.yudao.module.eval.controller.admin.monitoring.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 异常记录 Response VO")
@Data
public class EvalExceptionRecordRespVO {

    @Schema(description = "异常ID", example = "1")
    private Long id;

    @Schema(description = "计划ID", example = "1")
    private Long planId;

    @Schema(description = "计划名称", example = "2024年第一批电工认定")
    private String planName;

    @Schema(description = "异常类型", example = "system_error")
    private String exceptionType;

    @Schema(description = "异常描述", example = "系统响应超时")
    private String exceptionDescription;

    @Schema(description = "影响范围", example = "部分用户")
    private String impactScope;

    @Schema(description = "紧急程度", example = "2")
    private Integer urgencyLevel;

    @Schema(description = "处理状态", example = "1")
    private Integer handleStatus;

    @Schema(description = "报告人ID", example = "1")
    private Long reporterId;

    @Schema(description = "报告人姓名", example = "张三")
    private String reporterName;

    @Schema(description = "报告时间", example = "2024-01-01 10:00:00")
    private LocalDateTime reportTime;

    @Schema(description = "处理人ID", example = "2")
    private Long handlerId;

    @Schema(description = "处理人姓名", example = "李四")
    private String handlerName;

    @Schema(description = "处理时间", example = "2024-01-01 10:30:00")
    private LocalDateTime handleTime;

    @Schema(description = "处理结果", example = "已解决")
    private String handleResult;

    @Schema(description = "处理意见", example = "系统已恢复正常")
    private String handleComments;

}
